package sg.edu.nus.iss.team8s.vmcs.gui;

import java.awt.Button;
import java.awt.Dimension;

import sg.edu.nus.iss.team8s.vmcs.beans.StoreItem;
import sg.edu.nus.iss.team8s.vmcs.beans.StoreObject;
import sg.edu.nus.iss.team8s.vmcs.cache.CashStore;
import sg.edu.nus.iss.team8s.vmcs.commons.CommonsFactory;
import sg.edu.nus.iss.team8s.vmcs.commons.Constant;

public class CoinInputBox {
	private Button[] btnList;
	public CoinInputBox(){
		create();
	}
	
	private void create(){
		/*CashStore cashStore = CashStore.getInstance();
		btnList = new Button[cashStore.getStoreSize()+1];
		
		for(int i =0;i<cashStore.getStoreSize();i++){			
			StoreItem item = cashStore.getItem(i);
			StoreObject obj = item.getContent();
			
			Button btnCoin = CommonsFactory.getInstance().getButton(Constant.BUTTON_SMALL, obj.getName());
			btnCoin.setName(obj.getClass().getName()+ String.valueOf(i));
			btnCoin.setPreferredSize(new Dimension(59,40));
			btnCoin.setEnabled(false);
			
			d = btnCoin.getPreferredSize();
			btnCoin.setBounds(0 + GAPLENGTH + insets.left, 27 + insets.top, d.width, d.height);
			
			btnList[i] = btnCoin;
			
			p.add(btnCoin);
			
			GAPLENGTH += 60;*/
		}
	}
